package edu.gatech.oad.antlab.person;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.GridBagLayout;
import javax.swing.JTextPane;
import java.awt.GridBagConstraints;
import javax.swing.JButton;
import java.awt.Insets;
import java.awt.Color;

public class Screen2 extends JFrame
{

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args)
	{
		EventQueue.invokeLater(new Runnable()
		{
			public void run()
			{
				try
				{
					Screen2 frame = new Screen2();
					frame.setVisible(true);
				} catch (Exception e)
				{
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Screen2()
	{
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 495, 300);
		contentPane = new JPanel();
		contentPane.setBackground(new Color(165, 42, 42));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		GridBagLayout gbl_contentPane = new GridBagLayout();
		gbl_contentPane.columnWidths = new int[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
		gbl_contentPane.rowHeights = new int[]{0, 0, 0, 0, 0, 0, 0};
		gbl_contentPane.columnWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		gbl_contentPane.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		contentPane.setLayout(gbl_contentPane);
		
		JTextPane txtpnWelcomeToOregon = new JTextPane();
		txtpnWelcomeToOregon.setForeground(new Color(255, 255, 255));
		txtpnWelcomeToOregon.setEditable(false);
		txtpnWelcomeToOregon.setBackground(new Color(165, 42, 42));
		txtpnWelcomeToOregon.setText("Welcome to Oregon Trail!");
		GridBagConstraints gbc_txtpnWelcomeToOregon = new GridBagConstraints();
		gbc_txtpnWelcomeToOregon.insets = new Insets(0, 0, 5, 5);
		gbc_txtpnWelcomeToOregon.fill = GridBagConstraints.BOTH;
		gbc_txtpnWelcomeToOregon.gridx = 5;
		gbc_txtpnWelcomeToOregon.gridy = 0;
		contentPane.add(txtpnWelcomeToOregon, gbc_txtpnWelcomeToOregon);
		
		JButton btnContinueGame = new JButton("Continue Game");
		btnContinueGame.setBackground(new Color(255, 255, 255));
		GridBagConstraints gbc_btnContinueGame = new GridBagConstraints();
		gbc_btnContinueGame.insets = new Insets(0, 0, 5, 5);
		gbc_btnContinueGame.gridx = 5;
		gbc_btnContinueGame.gridy = 3;
		contentPane.add(btnContinueGame, gbc_btnContinueGame);
		
		JButton btnGoToStore = new JButton("Go to store");
		GridBagConstraints gbc_btnGoToStore = new GridBagConstraints();
		gbc_btnGoToStore.insets = new Insets(0, 0, 0, 5);
		gbc_btnGoToStore.gridx = 5;
		gbc_btnGoToStore.gridy = 5;
		contentPane.add(btnGoToStore, gbc_btnGoToStore);
	}

}
